<?php
namespace app\index\controller;


class Article extends Base{

	public function info(){
		$articleInfo=model('Article')->with('content,content.member')->find(input('id'));
		$viewData=[
		'articleInfo'=>$articleInfo
		];	
		$articleInfo->setInc('click');
		$this->assign($viewData);
		return view(); 
	} 
}